let index = 0;
const setIndex = () => {
  index++;
};
const getIndex = () => {
  return index;
};

export { setIndex, getIndex };
